package com.horoscope.astrology.zodiac.signs.free.network.task

import com.horoscope.astrology.zodiac.signs.free.bean.BirthChartResultBean
import com.horoscope.astrology.zodiac.signs.free.network.NetworkListener

class GetBirthChartTask(
    udid: String,
    name: String,
    north: String,
    west: String,
    offset: Int,
    birthday: String,
    bornPlace: String,
    timezone: String,
    listener: NetworkListener<BirthChartResultBean>?
) : BaseTask<BirthChartResultBean>(listener) {

    init {
        setApiAndCallBack(
            getApiCenter().getBirthChart(
                udid,
                name,
                north,
                west,
                offset,
                birthday,
                bornPlace,
                timezone
            )
        )
    }
}